package com.gitee.simons.system.fegin;


import com.gitee.simons.system.fegin.fallback.TestFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.security.core.Authentication;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "system", fallback = TestFallback.class)
public interface TestFeginClient {

    @GetMapping("/test/test")
    public String test(Authentication authentication);
}
